import React from 'react';

export class Child extends React.Component {
  render() {
    return (
      // 显示父组件传递的数据
      <div>
        <hr />
        <div>
          我是子组件,我姓{this.props.lastName}, {this.props.money}
        </div>
      </div>
    );
  }
}
